package edu.gznu.ics.fast.common.sqlCheckHelper;

import edu.gznu.ics.fast.pulsar.model.vo.web.QueryCommandVO;

/**
 * Created by fei-zyx on 2016/10/19.
 */
public class SqlCheckHelper {


    public static String sqlChecker(String sql){


        //String sql=queryCommandVO.getSql();
        sql.replaceAll("delete"," ");
        sql.replaceAll("update"," ");
        sql.replaceAll("drop"," ");
        sql.replaceAll("alter"," ");
        sql.replaceAll(";"," ");
        sql.replaceAll("insert"," ");




        return sql;
    }
}
